package com.weiyuanstudio.nextstep.algorithm.snowflake;

import jakarta.persistence.GenerationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface GeneratedSnowflake {
    GenerationType strategy() default GenerationType.IDENTITY;

    String generator() default "";
}
